package com.mulanweb.api.module.model;

import com.mulanweb.api.module.model.base.BaseToken;

/**
 * Created by Administrator on 2016/8/15.
 */
public class Token extends BaseToken<Token> {

    public static final Token dao = new Token();

    /*public static synchronized String get() {
        AccessToken accessToken = AccessToken.dao.findFirst("select * from access_token");
        if (accessToken != null) {
            return accessToken.getAccessToken();
        }
        return null;
    }

    public static synchronized void refresh(AccessToken at) {
        at.update();
    }*/

}
